package cn.edu.scau.cmi.wuyihan.exercise6.Example6_2;

public class ImportantUniversity extends University {
      void enterRule(double math,double english,double chinese) {
    	  double total=math+english+chinese;
    	  if(total>244) {
    		  System.out.println(total+"分达到大学录取线");
    	  }
    	  else {
    		  System.out.println(total+"分未达到大学录取线");
    	  }
      }
}
